sum of lower triangle elements